
package com.zsrt.lianxi;

import static org.junit.Assert.*;

import org.junit.Test;

public class Lian {

	@Test
	public void test02() throws Exception {
		for(int i=0;i<10;i++){
			if(i%3==2){
				continue;
			}
			if(i%2==0){
				System.out.println(i);
			}
		}
	}
	@Test
	public void test01() throws Exception {
		int a=1;
		int b=10;
		do{
			b-=a;
			a++;
			
		}while(b--<0);
		System.out.println(b);
	}
	
}
